home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 2.toast / pc / sample code / quicktime / all java / quicktime for java / importexport / readme.txt < prev   
Encoding:
Text File  |  2000-06-23  |  2.8 KB  |  52 lines

  1. =============================================================================
  2. QuickTime for Java SDK                              Updated: 30 November 1998
  3.  
  4. Read Me Notes to "ImportExport" Demo and Sample Code
  5.  
  6. =============================================================================
  7. This demo program shows how to export a movie, using the user dialog to customise export settings, import a media file and reference a media file in a movie.
  8. =============================================================================
  9.  
  10. The minimum runtime requirements for this Sample Code are:
  11.  
  12. - Common
  13.     - Sun Compliant Java Runtime Environment 1.1
  14.     - QuickTime 3 
  15.     - QTJava.zip
  16.  
  17. - MacOS:
  18.     - System 8 or later
  19.     - Macintosh Runtime for Java (MRJ) 2.1
  20.  
  21. - Windows 95, 98, or NT::
  22.     - JRE/JDK from Sun Microsystems, Inc. recommended
  23.  
  24. =============================================================================
  25. Media requirements for this Sample Code - user supplied movie
  26.  
  27. =============================================================================
  28. Notes & Comments
  29. This code shows how to : export a movie, reference a already existing media and import media.
  30.  
  31. This code shows how to export a movie, using the user dialog to customise export settings. There are two ways this can be done - by far the easiest way is to use the Movie.convertToFile call which will allow you to show the default progress proc for a movie to provide visual feedback to the user of the progress of the export. Otherwise the application can call the MovieExporter directly to export movie data and define their own custom progress handling
  32.  
  33. A reference to already existing movie is created by adding the resources of that movie to a new movie . The new movie as all the tracks and other timing information of the referenced movie.Shortcut movies are movies that just contain a reference to another movie, we create this by passing a a Data ref out of a URL that references the movie to the call createShortcutMovieFile. If the application wanted to remove the dependency it could flatten the existing movie.
  34.  
  35. The media import is done by the makeDrawable method will import graphics using the GraphicsImporter, and  Movie.fromFile call for other media types
  36.  
  37.  
  38. =============================================================================
  39. General Comments
  40.  
  41. - QTSession.open and close:
  42.  
  43. A QTSession.open will perform a gestalt check to ensure that QuickTime is present and is initialized. This is a required call before any QuickTime Java classes can be used.
  44.  
  45. QTSession.close is called after the program has finished exporting
  46.  
  47.  
  48. =============================================================================
  49.  
  50. QuickTime and QuickTime for Java are trademarks of Apple Computer, Inc.
  51. (c) 1998 Apple Computer Inc. All rights reserved.
  52.